home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / redakcyjne / programy / VideoLAN Client (VLC) 1.0.5 / vlc-1.0.5-win32.exe / http / dialogs / sout < prev    next >
Text File  |  2010-01-30  |  13KB  |  295 lines

  1. <vlc id="if" param1="0" />
  2. vim:syntax=html
  3. <!--  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
  4. <  sout: VLC media player web interface - stream output dialog
  5. < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
  6. <  Copyright (C) 2005-2006 the VideoLAN team
  7. <  $Id$
  8. <  Authors: Antoine Cellerier <dionoea -at- videolan -dot- org>
  9. <  This program is free software; you can redistribute it and/or modify
  10. <  it under the terms of the GNU General Public License as published by
  11. <  the Free Software Foundation; either version 2 of the License, or
  12. <  (at your option) any later version.
  13. <  This program is distributed in the hope that it will be useful,
  14. <  but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. <  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16. <  GNU General Public License for more details.
  17. <  You should have received a copy of the GNU General Public License
  18. <  along with this program; if not, write to the Free Software
  19. <  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
  20. < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
  21.  
  22. This dialog needs the following dialogs to be fully functional: <none>
  23. Note that the sout chain is used and sent to VLC by the input dialog
  24. <vlc id="end" />
  25.  
  26. <div id="sout" class="dialog" style="display: none">
  27.   <div class="title">
  28.     Stream Output
  29.     <img class="close" src="images/white_cross_small.png" alt="Close" onclick="hide('sout');"/>
  30.   </div>
  31.   <div class="controls">
  32.     <label for="sout_mrl">Destination (MRL)</label>
  33.     <vlc id="if" param1="page value 'vlm' strcmp 0 =" />
  34.       <input type="text" name="sout_mrl" id="sout_mrl" size="60" onkeypress="if( event.keyCode == 13 ) vlm_output_change();"/>
  35.       <br/>
  36.       <input type="button" value="Ok" onclick="vlm_output_change();" />
  37.       <input type="button" value="Cancel" onclick="hide('sout');" />
  38.       <input type="hidden" id="sout_dest" />
  39.     <vlc id="else" />
  40.       <input type="text" name="sout_mrl" id="sout_mrl" size="60" onkeypress="if( event.keyCode == 13 ) save_sout();" />
  41.       <br/>
  42.       <input type="button" value="Save" onclick="save_sout();" />
  43.     <vlc id="end" />
  44.     <input type="button" value="Reset" onclick="reset_sout();"/>
  45.     <input type="hidden" id="sout_old_mrl" value="" /> <!-- FIXME -->
  46.     <input type="button" id="sout_helper_toggle" onclick="toggle_show_sout_helper()" value="Hide sout interface" />
  47.   </div>
  48.   <div id="sout_helper" class="helper">
  49.     Stream Output Helper
  50.     <hr/>
  51.     <div id="sout_method">
  52.       <table>
  53.         <tr>
  54.           <td>
  55.             <input type="checkbox" id="sout_display" onchange="update_sout()"/>
  56.             <label for="sout_display">Display</label>
  57.           </td>
  58.           <td></td>
  59.           <td></td>
  60.         </tr>
  61.         <tr>
  62.           <td>
  63.             <input type="checkbox" id="sout_file" onchange="update_sout()"/>
  64.             <label for="sout_file">File</label>
  65.           </td>
  66.           <td>
  67.             <label for="sout_file_filename">File name</label>
  68.             <input type="text" id="sout_file_filename" onchange="update_sout()"/>
  69.           </td>
  70.           <td></td>
  71.         </tr>
  72.         <tr>
  73.           <td>
  74.             <input type="checkbox" id="sout_http" onchange="update_sout()"/>
  75.             <label for="sout_http">HTTP</label>
  76.           </td>
  77.           <td>
  78.             <label for="sout_http_addr">Address</label>
  79.             <input type="text" id="sout_http_addr" onchange="update_sout()"/>
  80.           </td>
  81.           <td>
  82.             <label for="sout_http_port">Port</label>
  83.             <input type="text" id="sout_http_port" onchange="update_sout()"/>
  84.           </td>
  85.         </tr>
  86.         <tr>
  87.           <td>
  88.             <input type="checkbox" id="sout_mmsh" onchange="update_sout()"/>
  89.             <label for="sout_mmsh">MMSH</label>
  90.           </td>
  91.           <td>
  92.             <label for="sout_mmsh_addr">Address</label>
  93.             <input type="text" id="sout_mmsh_addr" onchange="update_sout()"/>
  94.           </td>
  95.           <td>
  96.             <label for="sout_mmsh_port">Port</label>
  97.             <input type="text" id="sout_mmsh_port" onchange="update_sout()"/>
  98.           </td>
  99.         </tr>
  100.         <tr>
  101.           <td>
  102.             <input type="checkbox" id="sout_rtp" onchange="update_sout()"/>
  103.             <label for="sout_rtp">RTP</label>
  104.           </td>
  105.           <td>
  106.             <label for="sout_rtp_addr">Address</label>
  107.             <input type="text" id="sout_rtp_addr" onchange="update_sout()"/>
  108.           </td>
  109.           <td>
  110.             <label for="sout_rtp_port">Port</label>
  111.             <input type="text" id="sout_rtp_port" onchange="update_sout()"/>
  112.           </td>
  113.         </tr>
  114.         <tr>
  115.           <td>
  116.             <input type="checkbox" id="sout_udp" onchange="update_sout()"/>
  117.             <label for="sout_udp">UDP</label>
  118.           </td>
  119.           <td>
  120.             <label for="sout_udp_addr">Address</label>
  121.             <input type="text" id="sout_udp_addr" onchange="update_sout()"/>
  122.           </td>
  123.           <td>
  124.             <label for="sout_udp_port">Port</label>
  125.             <input type="text" id="sout_udp_port" onchange="update_sout()"/>
  126.           </td>
  127.         </tr>
  128.       </table>
  129.     </div>
  130.     <hr/>
  131.     <div id="sout_muxh">
  132.       <input type="radio" name="sout_mux" id="sout_mux_default" value="" onchange="update_sout()" />
  133.       <label for="sout_mux_default">Default</label>
  134.       <input type="radio" name="sout_mux" id="sout_mux_ts" value="ts" onchange="update_sout()"/>
  135.       <label for="sout_mux_ts">MPEG TS</label>
  136.       <input type="radio" name="sout_mux" id="sout_mux_ps" value="ps" onchange="update_sout()"/>
  137.       <label for="sout_mux_ps">MPEG PS</label>
  138.       <input type="radio" name="sout_mux" id="sout_mux_mpeg1" value="mpeg1" onchange="update_sout()"/>
  139.       <label for="sout_mux_ts">MPEG 1</label>
  140.       <input type="radio" name="sout_mux" id="sout_mux_ogg" value="ogg" onchange="update_sout()"/>
  141.       <label for="sout_mux_ts">OGG</label>
  142.       <br/>
  143.       <input type="radio" name="sout_mux" id="sout_mux_asf" value="asf" onchange="update_sout()"/>
  144.       <label for="sout_mux_ts">ASF</label>
  145.       <input type="radio" name="sout_mux" id="sout_mux_mp4" value="mp4" onchange="update_sout()"/>
  146.       <label for="sout_mux_ts">MP4</label>
  147.       <input type="radio" name="sout_mux" id="sout_mux_mov" value="mov" onchange="update_sout()"/>
  148.       <label for="sout_mux_ts">MOV</label>
  149.       <input type="radio" name="sout_mux" id="sout_mux_wav" value="wav" onchange="update_sout()"/>
  150.       <label for="sout_mux_ts">WAV</label>
  151.       <input type="radio" name="sout_mux" id="sout_mux_raw" value="raw" onchange="update_sout()"/>
  152.       <label for="sout_mux_ts">Raw</label>
  153.     </div>
  154.     <hr/>
  155.     <div id="sout_transcode">
  156.       <input type="hidden" id="sout_transcode_extra" value="" />
  157.       <table>
  158.         <tr>
  159.           <td>
  160.             <input type="checkbox" id="sout_vcodec_s" onchange="update_sout()"/>
  161.             <label for="sout_vcodec_s">Video Codec</label>
  162.           </td>
  163.           <td>
  164.             <select id="sout_vcodec" onchange="update_sout()">
  165.               <option value="mp1v">mp1v</option>
  166.               <option value="mp2v">mp2v</option>
  167.               <option value="mp4v">mp4v</option>
  168.               <option value="DIV1">DIV1</option>
  169.               <option value="DIV2">DIV2</option>
  170.               <option value="DIV3">DIV3</option>
  171.               <option value="H263">H263</option>
  172.               <option value="H264">H264</option>
  173.               <option value="WMV1">WMV1</option>
  174.               <option value="WMV2">WMV2</option>
  175.               <option value="MJPG">MJPG</option>
  176.               <option value="theo">theo</option>
  177.             </select>
  178.           </td>
  179.           <td>
  180.             <label for="sout_vb">Bitrate (kb/s)</label>
  181.             <select id="sout_vb" onchange="update_sout()">
  182.               <option value="4096">4096</option>
  183.               <option value="3072">3072</option>
  184.               <option value="2048">2048</option>
  185.               <option value="1024">1024</option>
  186.               <option value="768">768</option>
  187.               <option value="512">512</option>
  188.               <option value="384">384</option>
  189.               <option value="256">256</option>
  190.               <option value="192">192</option>
  191.               <option value="128">128</option>
  192.               <option value="96">96</option>
  193.               <option value="64">64</option>
  194.               <option value="32">32</option>
  195.               <option value="16">16</option>
  196.             </select>
  197.           </td>
  198.           <td>
  199.             <label for="sout_scale">Scale</label>
  200.             <select id="sout_scale" onchange="update_sout()">
  201.               <option value="0.25">0.25</option>
  202.               <option value="0.5">0.5</option>
  203.               <option value="0.75">0.75</option>
  204.               <option value="1" selected="selected">1</option>
  205.               <option value="1.25">1.25</option>
  206.               <option value="1.5">1.5</option>
  207.               <option value="1.75">1.75</option>
  208.               <option value="2">2</option>
  209.             </select>
  210.           </td>
  211.         </tr>
  212.         <tr>
  213.           <td>
  214.             <input type="checkbox" id="sout_acodec_s" onchange="update_sout()"/>
  215.             <label for="sout_acodec_s">Audio Codec</label>
  216.           </td>
  217.           <td>
  218.             <select id="sout_acodec" onchange="update_sout()">
  219.               <option value="mpga">mpga</option>
  220.               <option value="mp2a">mp2a</option>
  221.               <option value="mp3">mp3</option>
  222.               <option value="mp4a">mp4a</option>
  223.               <option value="a52">a52</option>
  224.               <option value="vorb">vorb</option>
  225.               <option value="flac">flac</option>
  226.               <option value="spx">spx</option>
  227.               <option value="s16l">s16l</option>
  228.               <option value="fl32">fl32</option>
  229.             </select>
  230.           </td>
  231.           <td>
  232.             <label for="sout_ab">Bitrate (kb/s)</label>
  233.             <select id="sout_ab" onchange="update_sout()">
  234.               <option value="512">512</option>
  235.               <option value="384">384</option>
  236.               <option value="256">256</option>
  237.               <option value="192">192</option>
  238.               <option value="128">128</option>
  239.               <option value="96">96</option>
  240.               <option value="64">64</option>
  241.               <option value="32">32</option>
  242.               <option value="16">16</option>
  243.             </select>
  244.           </td>
  245.           <td>
  246.             <label for="sout_channels">Channels</label>
  247.             <select id="sout_channels" onchange="update_sout()">
  248.               <option value="">default</option>
  249.               <option value="1">1</option>
  250.               <option value="2">2</option>
  251.               <option value="4">4</option>
  252.               <option value="6">6</option>
  253.             </select>
  254.           </td>
  255.         </tr>
  256.         <tr>
  257.           <td>
  258.             <input type="checkbox" id="sout_sub" onchange="update_sout()"/>
  259.             <label for="sout_sub">Subtitles Codec</label>
  260.           </td>
  261.           <td>
  262.             <select id="sout_scodec" onchange="update_sout()">
  263.               <option value="dvbs">dvbs</option>
  264.             </select>
  265.           </td>
  266.           <td colspan="2">
  267.             <input type="checkbox" id="sout_soverlay" onchange="update_sout()"/>
  268.             <label for="sout_soverlay">Subtitles overlay</label>
  269.           </td>
  270.         </tr>
  271.       </table>
  272.     </div>
  273.     <hr/>
  274.     <div id="sout_misc">
  275.       <input type="checkbox" id="sout_sap" onchange="update_sout()"/>
  276.       <label for="sout_sap">SAP announce</label>
  277.       <br/>
  278.       <label for="sout_sap_group">Group name</label>
  279.       <input type="text" id="sout_sap_group" onchange="update_sout()"/>
  280.       <label for="sout_sap_name">Channel name</label>
  281.       <input type="text" id="sout_sap_name" onchange="update_sout()"/>
  282.       <hr/>
  283.       <input type="checkbox" id="sout_all" onchange="update_sout()"/>
  284.       <label for="sout_all">Select all elementary streams</label>
  285.       <hr/>
  286.       <label for="sout_ttl">Time-To-Live (TTL)</label>
  287.       <input type="text" id="sout_ttl" onchange="update_sout()"/>
  288.     </div>
  289.   </div>
  290. </div>
  291.